<?php get_header(); ?>

<div id="content">

    <?php if (have_posts ()) : ?>
        <h2 class="title-noticias">Notícias FFB</h2>
    <?php while (have_posts ()) : the_post(); ?>
            <span class="data-post"><?php the_time('j'); ?>/<?php the_time('m'); ?>/<?php the_time('Y'); ?></span><br />
            <a href="<?php the_permalink() ?>" class="the-title">- <?php the_title(); ?> </a>
            <div class="separador-de-posts"></div>

            <!--
                <div class="post box" id="post-<?php the_ID(); ?>">
                    <div class="postim">
                        <div class="myavatar">
    <?php echo get_avatar(get_the_author_meta('user_email'), apply_filters('', 80)); ?>
                </div>
                <div class="clockbox">
                    <span class="bdate"><?php the_time('j'); ?></span>
                    <span class="bmonth"><?php the_time('M'); ?></span>
                    <span class="byear"><?php the_time('Y'); ?></span>
                </div>
            </div>
            <div class="cover">
                <div class="title">
                    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
                </div>
                <div class="entry">
                    <a href="<?php the_permalink() ?>">
    <?php joca_post_image() ?>
                    </a>
    <?php the_excerpt(); ?>
                        <div class="clear"></div>
                    </div>
                    <a class="rmore" href="<?php the_permalink() ?>">Continue </a>
                </div>
            </div>
            -->
    <?php endwhile; ?>

            <div class="clear"></div>

            <div id="navigation">

        <?php if (function_exists('wp_pagenavi')) : ?>

        <?php wp_pagenavi() ?>

        <?php else : ?>

                    <div class="alignleft"><?php next_posts_link(__('&laquo; Posts anteriores', 'arclite')) ?></div>

                    <div class="alignright"><?php previous_posts_link(__('Próximos Posts &raquo;', 'arclite')) ?></div>

                    <div class="clear"></div>

        <?php endif; ?>



                </div>



    <?php else : ?>

                        <h1 class="title">Não encontrado</h1>

                        <p>O Conteúdo não foi encontrado.</p>

    <?php endif; ?>



                    </div>



<?php get_sidebar(); ?>



<?php get_footer(); ?>